<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ page import="mytask.domain.AuthManager"%>

<%@ include file="../components/screenHeader.jspf"%>

<form:form method="post" action="edit" modelAttribute="project">
	<form:hidden path="id" />
	<table class="align-center">
		<tbody>
			<tr>
				<td>Pealkiri:</td>
				<td><form:input size="20" path="title" cssStyle="width: 100%" /><br />
				<form:errors cssClass="formError" path="title" /></td>
			</tr>
			<tr>
				<td>Kirjeldus:</td>
				<td><form:textarea path="description" cssStyle="width: 100%" /><br />
				<form:errors cssClass="formError" path="description" /></td>
			</tr>
			<tr>
				<td>Olek:</td>
				<td><form:select path="status" cssStyle="width: 200px;">
					<form:options items="${statusList}" />
				</form:select><br />
				<form:errors cssClass="formError" path="status" /></td>
			</tr>
			<tr>
				<td>Liikmed:</td>
				<td><form:input size="20" path="rawMembers"
					cssStyle="width: 100%;" /><br />
				<form:errors cssClass="formError" path="rawMembers" /></td>
			</tr>
			<tr>
				<td colspan="2">
				<h4>NB! Eralda liikmete emailid semikooloniga.</h4>
				</td>
			</tr>
		</tbody>
	</table>

	<div class="ButtonsContainerBottom"><input type="submit"
		class="SubmitButton" value="Salvesta"> <input type="reset"
		class="CancelButton" value="Taasta"></div>
</form:form>

<%@ include file="../components/screenFooter.jspf"%>
